NXP Semiconductors /LPC800 /USART0 /CTRL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CTRL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (RESERVED)RESERVED 0 (NORMAL_OPERATION_)TXBRKEN 0 (ENABLED_THE_USART_R)ADDRDET 0 (RESERVED)RESERVED 0 (NOT_DISABLED_USART_)TXDIS 0 (RESERVED)RESERVED 0 (CLOCK_ON_CHARACTER_)CC 0 (NO_AFFECT_ON_THE_CC_)CLRCC 0 (RESERVED)RESERVED

CLRCC=NO_AFFECT_ON_THE_CC_, CC=CLOCK_ON_CHARACTER_, TXBRKEN=NORMAL_OPERATION_, ADDRDET=ENABLED_THE_USART_R, TXDIS=NOT_DISABLED_USART_

Description

USART Control register. USART control settings that are more likely to change during operation.

Fields

RESERVED

Reserved. Read value is undefined, only zero should be written.

TXBRKEN

Break Enable.

0 (NORMAL_OPERATION_): Normal operation.

1 (CONTINUOUS_BREAK_IS_): Continuous break is sent immediately when this bit is set, and remains until this bit is cleared. A break may be sent without danger of corrupting any currently transmitting character if the transmitter is first disabled (TXDIS in CTRL is set) and then waiting for the transmitter to be disabled (TXDISINT in STAT = 1) before writing 1 to TXBRKEN.

ADDRDET

Enable address detect mode.

0 (ENABLED_THE_USART_R): Enabled. The USART receiver is enabled for all incoming data.

1 (DISABLED_THE_USART_): Disabled. The USART receiver ignores incoming data that does not have the most significant bit of the data (typically the 9th bit) = 1. When the data MSB bit = 1, the receiver treats the incoming data normally, generating a received data interrupt. Software can then check the data to see if this is an address that should be handled. If it is, the ADDRDET bit is cleared by software and further incoming data is handled normally.

RESERVED

Reserved. Read value is undefined, only zero should be written.

TXDIS

Transmit Disable.

0 (NOT_DISABLED_USART_): Not disabled. USART transmitter is not disabled.

1 (DISABLED_USART_TRAN): Disabled. USART transmitter is disabled after any character currently being transmitted is complete. This feature can be used to facilitate software flow control.

RESERVED

Reserved. Read value is undefined, only zero should be written.

CC

Continuous Clock generation. By default, SCLK is only output while data is being transmitted in synchronous mode.

0 (CLOCK_ON_CHARACTER_): Clock on character. In synchronous mode, SCLK cycles only when characters are being sent on Un_TXD or to complete a character that is being received.

1 (CONTINUOUS_CLOCK_SC): Continuous clock. SCLK runs continuously in synchronous mode, allowing characters to be received on Un_RxD independently from transmission on Un_TXD).

CLRCC

Clear Continuous Clock.

0 (NO_AFFECT_ON_THE_CC_): No affect on the CC bit.

1 (AUTO_CLEAR_THE_CC_B): Auto-clear. The CC bit is automatically cleared when a complete character has been received. This bit is cleared at the same time.

RESERVED

Reserved. Read value is undefined, only zero should be written.

Links

()